Skip to content

Conversation

@krlmlr
Copy link
Member

@krlmlr krlmlr commented Jan 13, 2026

No description provided.

Copilot AI review requested due to automatic review settings January 13, 2026 06:20
@krlmlr krlmlr enabled auto-merge (squash) January 13, 2026 06:20
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR modifies the GitHub Actions workflow to enable testing across all R versions for branches starting with "cran-". Previously, comprehensive R version testing (via the rcc-full job) was restricted to scheduled runs and manual workflow dispatches. Now, it will also run for:

  1. Push events to branches matching the cran-* pattern
  2. Pull requests from branches starting with "cran-" within the same repository

Changes:

  • Updated the versions-matrix step condition to include PRs from branches starting with "cran-"
  • Simplified the rcc-full job condition to run whenever the versions matrix is populated, rather than only on scheduled events or manual triggers

Comment on lines +137 to +140
# - pull requests if the base repo is different from the head repo and the branch name does not start with "cran-"
# Do not run for:
# - workflow_dispatch if not requested
# Always run for other events.
Copy link

Copilot AI Jan 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment does not accurately describe the conditional logic. The comment states "pull requests if the base repo is different from the head repo and the branch name does not start with 'cran-'", but the code uses OR logic which means it will run when the branch name DOES start with "cran-".

The comment should be updated to accurately reflect that the versions-matrix step runs for:

  • Pull requests when either the head repo is different from the base repo OR the branch starts with "cran-"
  • Other events (with workflow_dispatch conditional on input)
Suggested change
# - pull requests if the base repo is different from the head repo and the branch name does not start with "cran-"
# Do not run for:
# - workflow_dispatch if not requested
# Always run for other events.
# - pull requests when either the base repo is different from the head repo OR the branch name starts with "cran-"
# - other events (except workflow_dispatch when not requested)
# Do not run for:
# - workflow_dispatch if not requested via inputs.versions-matrix

Copilot uses AI. Check for mistakes.
@krlmlr krlmlr merged commit dc8d0f3 into main Jan 13, 2026
11 of 12 checks passed
@krlmlr krlmlr deleted the actions-sync-update branch January 13, 2026 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants